package com.pn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * Hello world!
 *
 */
@SpringBootApplication
public class App extends WebMvcConfigurerAdapter   //开启组件扫描和自动配置
{
    public static void main( String[] args )
    {
        System.out.println("初始化配置");
        SpringApplication.run(App.class,args);
    }
}
